<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>字体图标的使用</title>
    <style>
        /* 字体声明 */
        @font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?vyn5rn');
  src:  url('fonts/icomoon.eot?vyn5rn#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?vyn5rn') format('truetype'),
    url('fonts/icomoon.woff?vyn5rn') format('woff'),
    url('fonts/icomoon.svg?vyn5rn#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

span {
    font-family: 'icomoon';
    font-size: 100px;
    color: aquamarine;
}
    </style>
</head>
<body>
    <span></span>
    <span></span>
    <span></span><br>
    
    <img src="img/字体图标的使用.png" alt="">
</body>
</html>